-- GENERATED SPELL FOR [Guardian of Life] --


function spell0_33528(pUnit, Event) --@Poison Breath,n/a--
pUnit:FullCastSpellOnTarget(63226,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_33528', 13000, 1)
end

function spell1_33528(pUnit, Event) --@Poison Breath,n/a--
pUnit:FullCastSpellOnTarget(63551,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_33528', 13000, 1)
end

function Sorts_33528(pUnit, Event)
local choix_sorts_33528 = math.random(0, 1)
if choix_sorts_33528 == 0 then
pUnit:RegisterEvent('spell0_33528', 1, 1)
end
if choix_sorts_33528 == 1 then
pUnit:RegisterEvent('spell1_33528', 1, 1)
end
end

function mob33528_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_33528', math.random(1500, 3000), 1)
end

function mob33528_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob33528_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob33528_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(33528, 1, 'mob33528_Action')
RegisterUnitEvent(33528, 2, 'mob33528_Leave')
RegisterUnitEvent(33528, 3, 'mob33528_Kill')
RegisterUnitEvent(33528, 4, 'mob33528_Die')
